<template>
  <v-toolbar color="primary" app fixed clipped-left>
    <v-toolbar-side-icon @click="drawer" ></v-toolbar-side-icon>
    <!--@click.native="drawer = !drawer"-->
    <span class="title ml-3 mr-5">沪赣农产品溯源系统Ver:1.0</span>
    <v-spacer></v-spacer>

    <v-btn icon @click="print">
      <v-icon>print</v-icon>
    </v-btn>
  </v-toolbar>
</template>

<script>
    export default {
        name: "MyHeader",

      methods:{
        drawer(){
          this.$emit('drawer')
        },
        print(){
          window.print()
        }
      }
    }
</script>

<style scoped>

</style>
